<!doctype html>
<html lang="en">
  <head>
    <script type="text/x-mathjax-config">
      MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
    </script>
    <script type="text/javascript" async
          src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.3/MathJax.js?config=TeX-AMS_CHTML">
    </script>
  </head>
  <body>
    <script id='jupyter-config-data' type="application/json">
      { 
        "baseUrl": "{{base_url}}"
      }
    </script>
    <script id='scriptedforms-config-data' type="application/json">
      {
        "applicationToRun": "{{application_to_run}}",
        "publicPath": "{{base_url}}scriptedforms/static/",
        "baseUrl": "{{base_url}}scriptedforms/{{application_to_run}}/"
      }
    </script>
    <script src="{{base_url}}scriptedforms/static/polyfills.js"></script>
    <script src="{{base_url}}scriptedforms/static/angular.js"></script>
    <script src="{{base_url}}scriptedforms/static/jupyterlab.js"></script>
    <script src="{{base_url}}scriptedforms/static/misc.js"></script>
    <script src="{{base_url}}scriptedforms/static/scriptedforms.js"></script>
    {% if application_to_run == 'docs' %}
    <doc-root></doc-root>
    {% endif %}
  </body>
</html>
